<?php

$SENDER = 'java -jar /Users/scj/521/project/source/ac2/MoteInterface/Sender/PacketSender.jar';
$SENDER_CMD = 'UPDATE_TEMP';
//temp_, node_id 71.1 16
$reading = 71.1;
$node_id = 16;
$cmd = $SENDER  . ' ' .  $SENDER_CMD . ' ' . $reading . ' ' . $node_id;
//echo $cmd;
$output = shell_exec($cmd);

echo($output);

?>